package com.alm.token.ui.data.bean;

/**
 * Created by en on 2019/1/2.
 */

public class UpdateData {

    /**
     * msg : success
     * status : 0
     * data : {"id":1,"download":"/app/API/uploadApp","version":"1.0.0","versiondes":"versionDes","versioncode":"3","addtime":1534208997000,"updatetime":1534208999000,"apkname":"a","apptype":1}
     * success : false
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean {
        /**
         * id : 1
         * download : /app/API/uploadApp
         * version : 1.0.0
         * versiondes : versionDes
         * versioncode : 3
         * addtime : 1534208997000
         * updatetime : 1534208999000
         * apkname : a
         * apptype : 1
         */

        private int id;
        private String download;
        private String version;
        private String versiondes;
        private String versioncode;
        private long addtime;
        private long updatetime;
        private String apkname;
        private int apptype;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getDownload() {
            return download;
        }

        public void setDownload(String download) {
            this.download = download;
        }

        public String getVersion() {
            return version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public String getVersiondes() {
            return versiondes;
        }

        public void setVersiondes(String versiondes) {
            this.versiondes = versiondes;
        }

        public String getVersioncode() {
            return versioncode;
        }

        public void setVersioncode(String versioncode) {
            this.versioncode = versioncode;
        }

        public long getAddtime() {
            return addtime;
        }

        public void setAddtime(long addtime) {
            this.addtime = addtime;
        }

        public long getUpdatetime() {
            return updatetime;
        }

        public void setUpdatetime(long updatetime) {
            this.updatetime = updatetime;
        }

        public String getApkname() {
            return apkname;
        }

        public void setApkname(String apkname) {
            this.apkname = apkname;
        }

        public int getApptype() {
            return apptype;
        }

        public void setApptype(int apptype) {
            this.apptype = apptype;
        }
    }
}
